package com.zmn.plat.common.dto.price;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 描述: 产品价格查询入参
 *
 * @author guoqiao
 * @since 2021/8/27 15:40
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Valid
public class ProductPriceQuery implements Serializable {
    private static final long serialVersionUID = -6096500674250591874L;

    @NotEmpty(message = "productIdList参数不能为空")
    @ApiModelProperty("产品id集合")
    private List<Integer> productIdList;

    @NotNull(message = "showType不能为空")
    @ApiModelProperty("产品类型 1后端产品 2前端产品.3计价器产品")
    private Integer showType;

    @NotNull(message = "bizType不能为空")
    @ApiModelProperty("业务类型")
    private Integer bizType;

    @NotNull(message = "cityId不能为空")
    @ApiModelProperty("城市ID")
    private Integer cityId;

    @NotNull(message = "channelId不能为空")
    @ApiModelProperty("渠道id")
    private Integer channelId;

    @ApiModelProperty("品牌ID")
    private Integer brandId;

}
